package com.cuiyun97.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "jwt")
@Component
@Data
public class JwtProperties {

    private String adminSecretKey;
    private Long adminTtl;
    private String adminTokenName;

    private String memberSecretKey;
    private Long memberTtl;
    private String memberTokenName;
}
